/* owl.js
 * controls all the functions associated with
 * the Owl syntax information within the HTML document
 */
 
function GetElementsWithClassName(elementName,className) {
	var allElements = document.getElementsByTagName(elementName);
	var elemColl = new Array();
	for (var i = 0; i< allElements.length; i++) {
		if (hasClass(allElements[i], className)) {
			elemColl[elemColl.length] = allElements[i];
		}
	}
	alert(elemColl.length);
}

window.onload = GetElementsWithClassName("div", "slide");
	
